-- GENERATED SPELL FOR [Rizzle Sprysprocket] --


function spell0_23002(pUnit, Event) --@Swim Speed (self),Self--
pUnit:FullCastSpellOnTarget(40596,pUnit)
pUnit:RegisterEvent('Sorts_23002', 6349, 1)
end

function Sorts_23002(pUnit, Event)
local choix_sorts_23002 = math.random(0, 0)
if choix_sorts_23002 == 0 then
pUnit:RegisterEvent('spell0_23002', 1, 1)
end
end

function mob23002_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23002', math.random(1500, 3000), 1)
end

function mob23002_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23002_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23002_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23002, 1, 'mob23002_Action')
RegisterUnitEvent(23002, 2, 'mob23002_Leave')
RegisterUnitEvent(23002, 3, 'mob23002_Kill')
RegisterUnitEvent(23002, 4, 'mob23002_Die')
